package com.jron.cqiu;

import com.jron.cqiu.kernel.cmdline.ICommandObserver;
import com.jron.cqiu.kernel.scheduler.IKingTrigger;

import java.io.IOException;

/**
 * Created by Intellij IDEA.
 *
 * @Author: Yejw
 * @Date: 2008-6-11
 * @Time: 14:50:30
 */
public class Jronrun {

    public static void main(String[] args) throws IOException {
        if (args.length > 0 && args[0].equals("-CMD")) ICommandObserver.INSTANCE.startReading();
        else IKingTrigger.INSTANCE.run();
    }

}
